#! /bin/sh

#
# Script to give the appropriate compiler flags and linker flags
# to use when building code that uses libpcap.
#
case "$1" in

--cflags)
	echo "-I /usr/local/include"
	;;

--libs)
	echo "-L /usr/local/lib -lpcap "
	;;
esac
